<?php require_once(dirname(__FILE__) . '/../include/config.inc.php');

$lat=isset($_POST['lat']) ? htmlspecialchars($_POST['lat']) : "" ;
$lng=isset($_POST['lng']) ? htmlspecialchars($_POST['lng']) : "" ;
$speed=isset($_POST['speed']) ? htmlspecialchars($_POST['speed']) : "" ;
$acc=isset($_POST['acc']) ? htmlspecialchars($_POST['acc']) : "" ;
$ip=isset($_POST['ip']) ? htmlspecialchars($_POST['ip']) : "" ;
$ua=isset($_POST['ua']) ? htmlspecialchars($_POST['ua']) : "" ;
$time=time();

$sql="insert into `#@__dw`(lat,lng,speed,acc,ip,ua,addtime) values ('$lat','$lng','$speed','$acc','$ip','$ua','$time')";
$dosql->ExecNoneQuery($sql);

?>
</html>